package com.region.http.client.request;

import com.region.core.annotation.Region;
import com.region.http.client.annotation.configurer.ParameterConstant;
import com.region.http.client.annotation.request.GetUrl;
import com.region.http.client.annotation.parameter.Header;
import com.region.http.client.entity.ResultVO;
import com.region.http.client.request.apcache.ApachePoolHttpClientExecutor;

@Region(value = "https://127.0.0.1:9999/springmvc")
public interface HeaderRequest {

    @GetUrl(value = "/header/getHeaderInfo", executor = ApachePoolHttpClientExecutor.class)
    ResultVO getHeaderInfo(@Header("token") String info);

    @GetUrl(value = "/header/getHeaderInfo")
    ResultVO<String> getHeaderInfo();

}
